﻿using System;
using Microsoft.Xna.Framework.Content.Pipeline;

namespace Cobalt.Content.Pipeline
{

	public sealed class NullBuildLogger : ContentBuildLogger
	{
		private NullBuildLogger()
		{
		}

		public static readonly NullBuildLogger NullLogger = new NullBuildLogger();

		public override void LogImportantMessage( string message, params object[] messageArgs )
		{	
		}

		public override void LogMessage( string message, params object[] messageArgs )
		{	
		}

		public override void LogWarning( string helpLink, ContentIdentity contentIdentity, string message, params object[] messageArgs )
		{
		}
	}

	public class DependencyEventArgs : EventArgs
	{
		public string DependencyPath { get; private set; }
		public DependencyEventArgs( string dependencyPath )
		{
			this.DependencyPath = dependencyPath;
		}
	}

	public delegate void DependencyEventHandler( object sender, DependencyEventArgs e );

}